using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WiMo.Games.Display.WP7S.XNA
{
    public static class Helpers
    {
        public static Microsoft.Xna.Framework.Color GetXNAColor(this WiMo.Games.Color color)
        {
            return new Microsoft.Xna.Framework.Color(color.R, color.G, color.B, color.A);
        }

        public static Microsoft.Xna.Framework.Vector2 GetXNAVector2(this WiMo.Games.Vector2 vector)
        {
            return new Microsoft.Xna.Framework.Vector2(vector.X, vector.Y);
        }

        public static Microsoft.Xna.Framework.Vector2 GetXNAVector2(this WiMo.Games.Location location)
        {
            return new Microsoft.Xna.Framework.Vector2(location.X, location.Y);
        }

        public static Microsoft.Xna.Framework.Vector2 GetXNAVector2(this WiMo.Games.PointF location)
        {
            return new Microsoft.Xna.Framework.Vector2(location.X, location.Y);
        }

        public static Microsoft.Xna.Framework.Rectangle GetXNARectangle(this WiMo.Games.Rectangle rect)
        {
            return new Microsoft.Xna.Framework.Rectangle(rect.X, rect.Y, rect.Width, rect.Height);
        }

        public static Microsoft.Xna.Framework.Vector3 GetXNAVector3(this WiMo.Games.Vector3 vector)
        {
            return new Microsoft.Xna.Framework.Vector3(vector.X, vector.Y, vector.Z);
        }

    }
}